﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AdicionarEventoForm.aspx.cs" Inherits="ProjectoPV_ESW.Account.DiaEscolar.AdicionarEventoForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align="center">
    <h1>Inserção de novo Evento</h1>
    <p>
        Titulo do Evento:</p>
    <p>
        <asp:TextBox ID="TextBoxTitulo" runat="server" Width="384px"></asp:TextBox>
    </p>
    <p>
        Descrição do Evento:</p>
    <p>
        <asp:TextBox ID="TextBoxDescrição" runat="server" Height="200px" 
            TextMode="MultiLine" Width="400px"></asp:TextBox>
    </p>
    <p>
        Hora de Inicio:&nbsp;
        <asp:DropDownList ID="DropDownListInicio" runat="server" Height="30px" 
            Width="60px">
            <asp:ListItem Selected="True" Value="8">8:00</asp:ListItem>
            <asp:ListItem Value="9">9:00</asp:ListItem>
            <asp:ListItem Value="10">10:00</asp:ListItem>
            <asp:ListItem Value="11">11:00</asp:ListItem>
            <asp:ListItem Value="12">12:00</asp:ListItem>
            <asp:ListItem Value="13">13:00</asp:ListItem>
            <asp:ListItem Value="14">14:00</asp:ListItem>
            <asp:ListItem Value="15">15:00</asp:ListItem>
            <asp:ListItem Value="16">16:00</asp:ListItem>
            <asp:ListItem Value="17">17:00</asp:ListItem>
            <asp:ListItem Value="18">18:00</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
        Hora de fim:
        <asp:DropDownList ID="DropDownListFim" runat="server" Height="30px" 
            Width="60px">
            <asp:ListItem Selected="True" Value="9">9:00</asp:ListItem>
            <asp:ListItem Value="10">10:00</asp:ListItem>
            <asp:ListItem Value="11">11:00</asp:ListItem>
            <asp:ListItem Value="12">12:00</asp:ListItem>
            <asp:ListItem Value="13">13:00</asp:ListItem>
            <asp:ListItem Value="14">14:00</asp:ListItem>
            <asp:ListItem Value="15">15:00</asp:ListItem>
            <asp:ListItem Value="16">16:00</asp:ListItem>
            <asp:ListItem Value="17">17:00</asp:ListItem>
            <asp:ListItem Value="18">18:00</asp:ListItem>
            <asp:ListItem Value="19">19:00</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
        Sala Participante:&nbsp;&nbsp;
        <asp:DropDownList ID="DropDownListSala" runat="server" 
            DataSourceID="SqlDataSourceSalas" DataTextField="NomeSala" 
            DataValueField="SalaId" Height="30px" Width="150px">
        </asp:DropDownList>
    </p>
    <p>
        <asp:Button ID="ButtonInserirEvento" runat="server" 
            onclick="ButtonInserirEvento_Click" Text="Inserir Evento" 
            BackColor="#CCCCFF" BorderColor="#CC99FF" BorderStyle="Double" 
            BorderWidth="3px" Font-Bold="True" Font-Names="Calibri" Font-Size="Medium" 
            ForeColor="Gray" Height="30px" Width="300px" />
    </p>
    <p>
        <asp:Label ID="LabelErro" runat="server"></asp:Label>
    </p>
    <p>
        <asp:SqlDataSource ID="SqlDataSourceSalas" runat="server" 
            ConnectionString="<%$ ConnectionStrings:JardimEntitiesString %>" 
            ProviderName="<%$ ConnectionStrings:JardimEntitiesString.ProviderName %>" 
            SelectCommand="SELECT [SalaId], [NomeSala] FROM [Sala]"></asp:SqlDataSource>
    </p>
    </div>
</asp:Content>
